package org.jeecg.modules.demo.seal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
@TableName("car")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="car对象", description="car")
public class Car {

    /**id*/
//    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    /**车牌号*/
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;
    /**车架号*/
    @Excel(name = "车架号", width = 15)
    @ApiModelProperty(value = "车架号")
    private String carVinNo;
    /**品牌车型id*/
    @Excel(name = "品牌车型id", width = 15)
    @ApiModelProperty(value = "品牌车型id")
//    @Dict(dictTable = "car_brand_model", dicText = "brand", dicCode = "brand_model_id")
    private Integer brandModelId;
    /**品牌*/
    @Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
    @TableField(exist = false)
    private String brand;
    /**车型*/
    @Excel(name = "车型", width = 15)
    @ApiModelProperty(value = "车型")
    @TableField(exist = false)
    private String model;
    /**车体颜色*/
    @Excel(name = "车体颜色", width = 15)
    @ApiModelProperty(value = "车体颜色")
    private String carColor;
    /**所属部门*/
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private Integer orgId;





}
